package cn.xinfei.xdecision.common.model.login;

import lombok.Data;

/**
 * session 包装类
 */
@Data
public class AccountSessionWrap {
	public AccountSessionWrap(String ip, String requestUri) {
		init(null, ip, requestUri);
	}

	private void init(SSOUser ssoUser, String ip, String requestUri) {
		setSsoUser(ssoUser);
		setIp(ip);
		setRequestUri(requestUri);
	}

	/** session */
	private SSOUser ssoUser;
	private String ip;
	private String requestUri;
	/** 请求唯一标识 */
	private String traceId;

}